package com.gjh.xiaokabang2code.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gjh.xiaokabang2code.model.User;
import com.gjh.xiaokabang2code.model.request.UpdateUserRt;
import com.gjh.xiaokabang2code.model.response.LoginRs;
import com.gjh.xiaokabang2code.model.response.SafetyUserRs;

import javax.servlet.http.HttpServletRequest;

/**
* @author tsin0
* @description 针对表【user】的数据库操作Service
* @createDate 2024-03-07 17:38:00
*/
public interface UserService extends IService<User> {

    String login(String uId, HttpServletRequest httpServletRequest) throws Exception;

    SafetyUserRs getSafetyUser(LoginRs loginUser) throws Exception;

    Boolean updateUser(UpdateUserRt updateUserRt, LoginRs loginUser) throws Exception;
}
